package com.hoshino.momochi.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hoshino.momochi.mapper.AdminMapper;
import com.hoshino.momochi.model.domain.Admin;
import com.hoshino.momochi.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl extends ServiceImpl<AdminMapper, Admin> implements AdminService {
    @Autowired
    public AdminMapper adminMapper;

    @Override
    public Admin getStudentListByAdminId(Long id) {
        return adminMapper.getStudentListByAdminId(id);
    }
}
